﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Webapi.EFCore.IRepository.Base;
using Webapi.EFCore.Model;
using Webapi.EFCore.Model.Enity;

namespace Webapi.EFCore.IRepository
{
    /// <summary>
    /// User仓储接口 
    /// </summary>
    [Service]
    public interface IUserRepository : IBaseRepository<User>
    {
        /// <summary>
        /// 获取用户数量
        /// </summary>
        /// <returns></returns>
        Task<int> GetCount();

    }
}
